package com.guardchina.framework.web.model;

import com.guardchina.framework.web.api.TokenValidator;

import java.util.LinkedList;
import java.util.List;

/**
 * 描述：token校验处理器
 *
 * @author lwb
 * @date 2019/3/19 15:39
 */
public class TokenValidatorHolder {

    private List<TokenValidator> validatorHolders = new LinkedList<>();

    public List<TokenValidator> getHolders(){
        return validatorHolders;
    }

    public void addValidator(TokenValidator tokenValidator){
        validatorHolders.add(tokenValidator);
    }
}
